<?php
	require_once('config/config.php');
	if (strstr(REQUESTURI, "http://www."))
	{
		$r = str_replace('http://www.', 'http://', REQUESTURI);
		$r = str_replace('//', '/', $r);
		$r = str_replace('http:/', 'http://', $r);
		header("HTTP/1.1 301 Moved Permanently");
		header('Location: ' . $r);
	}
	GP_dispatch :: getInstance();
?>